package com.example.demo.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.example.demo.pojo.Result;

public interface IResultDao {
	
	int insertResult(Result Result);
	
	List<Result> selectResultByMid(Integer id);
	
	int deleteResultById(Integer id);
	
	int updateMreultById(Result Result);
	
	Result selectResultByNum(@Param("mid")Integer mid,@Param("rnum")Integer rnum);
	
	Result selectResultById(Integer id);

	List<Result> selectResult();

}
